#Madison Noyce
#11/17/22
#Lab Section 1011-007
#Lab 11
#This makefile will compile, run, and then clean the lab11 file in one step
#rather than typing in the entirity of the files list every time the 
#program needs to be compiled.

lab11: mainDriver.c getHeader.c fillImageArray.c writeHeader.c writePixels.c defs.h
	gcc -Wall -o lab11 mainDriver.c getHeader.c fillImageArray.c \
	writeHeader.c writePixels.c

run: lab11
	./lab11 Disney.pnm smallerDisney.pnm

clean: lab11
	rm lab11
